{include file="header"}
<link rel="stylesheet" href="__ROOT__/static/plugs/awesome/fonts.css?at={:date('md')}">
<link rel="stylesheet" href="__ROOT__/static/plugs/layui/css/layui.css?at={:date('md')}">
<link rel="stylesheet" href="__ROOT__/static/theme/css/console.css?at={:date('md')}">
<style>
    .layui-upload-list img{
        margin: 5px;
        width: 80px;
        height: 80px;
    }
    .layui-btn{
        background-color: #07c160!important;
    }
    .pagination{
        margin: 1em auto;
        font-size: 16px;
        color: #666666;
        box-sizing: border-box;
        text-align: center;

    }
    .pagination li{

         float: left;
         width: 40px;
     }
    .pagination .active{
        background-color: #07c160;
        border-color: rgba(0,0,0,0);
        color: #FFFFFF;
    }
    .pagination li{
        min-width: 30px;
        height: 2em;
        border: 1px solid #e5e5e5;
        text-align: center;
        margin: 0 5px;
        cursor: pointer;
        line-height: 2em;
        color: #666666;
        display: inline-block;
    }
    

</style>


{block name="style"}{/block}
<script>window.ROOT_URL = '__ROOT__';</script>
<script src="__ROOT__/static/plugs/jquery/pace.min.js"></script>
<div class="weui-btn_primary weui-header">
    <div class="weui-header-left"> <a href="{:url('/monitor/myjob')}" class="icon icon-109 f-white">返回</a>  </div>
    <h1 class="weui-header-title">我的上报</h1>

</div>
<div class="page-hd">
    <h1 class="page-hd-title">
        <script>hello()</script>{:session('admin_user.username')}
    </h1>

</div>
<div class="weui-news">
    <ul class="weui-news-list">

        {foreach $list as $key=>$vo}
        <li class="weui-news-item">
             <div class="weui-news-inner">
                <div class="weui-news-inners">
                    <div class="weui-news-text">
                        <div class="weui-news-title">
                            <p>项目名称：{$vo.xmmc|default=''}</p>
                            <p>监控编号：{$vo.jkbh|default=''}</p>
                            <p>安装地点：{$vo.azdd|default=''}</p>

                            <p>上报时间：{$vo.kctime|date='Y-m-d'}</p>

                            <p> <a href="/monitor/mlist/show.html?id={$vo.id}" class="layui-btn layui-btn-sm">查看详情</a></p>

                        </div>
                    </div>

                </div>
                <div class="weui-news-media">
                    {php}

                    $str = $vo['azwzpic'];
                    $img=explode(',', $str);
                    $img1=$img['0'];
                    {/php}
                    <img src="{$img1}">

                </div>
            </div></a>
        </li>
        {/foreach}
    </ul>
    {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$list|raw|default=''}{/empty}
</div>

<script src="__ROOT__/static/plugs/layui/layui.all.js"></script>
<script src="__ROOT__/static/plugs/require/require.js"></script>
<script src="__ROOT__/static/admin.js"></script>
<br>
{include file="footer"}